package com.xyzh.stj.web.service.impl;

import com.xyzh.stj.web.entity.ObjectsAttrEntity;
import com.xyzh.stj.web.dao.ObjectsAttrMapper;
import com.xyzh.stj.web.service.ObjectsAttrService;
import com.xyzh.application.base.service.BasicServiceImpl;
import com.xyzh.stj.web.vo.model.ModelAttrs;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 属性表 服务实现类
 * </p>
 *
 * @author @JZB
 * @since 2024-01-09
 */
@Service
public class ObjectsAttrServiceImpl extends BasicServiceImpl<ObjectsAttrMapper, ObjectsAttrEntity> implements ObjectsAttrService {

    @Override
   public List<ModelAttrs> getModelAttrs(Long entityId){
        return this.getBaseMapper().getModelAttrs(entityId);

    }

    @Override
    public List<ModelAttrs>   getModelAttrsByName(String modelName){
        return this.getBaseMapper().getModelAttrsByName(modelName);
    }
}
